package com.yubest.junit.jna;

import com.sun.jna.Library;
import com.sun.jna.Native;

/**
 * jna
 *
 * @Author: hweiyu
 * @Date: 2022/11/16 14:08
 */
public interface Calculator extends Library {

    Calculator INSTANCE = Native.load("calculator", Calculator.class);

    int add(int a, int b);

    int sub(int a, int b);

    int mul(int a, int b);

    int div(int a, int b);
}
